package com.education.platform.api.service.impl;

import com.education.platform.dao.entity.TestPaperDO;
import org.springframework.beans.factory.annotation.Autowired;
import com.education.platform.common.service.impl.BaseServiceImpl;
import com.education.platform.dao.TestPaperDao;
import org.springframework.stereotype.Service;
import com.education.platform.api.service.TestPaperService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* describe: 试卷
* @author : tomato
* @date: 2020-06-06 02:55:53.848
**/
@Service
public class TestPaperServiceImpl extends BaseServiceImpl<TestPaperDao, TestPaperDO> implements TestPaperService {

	private static final Logger LOGGER = LoggerFactory.getLogger(TestPaperServiceImpl.class);

    @Autowired
	private TestPaperDao testPaperDao;

    @Override
    public TestPaperDO getRandomOne(TestPaperDO query) {
        return testPaperDao.getRandomOne(query);
    }
}
